Optimal. Leaf size=104 \[ -\frac{b^2 (3 a+4 b) \tanh ^3(c+d x)}{3 d}+\frac{3 b (a+b) (a+2 b) \tanh (c+d x)}{d}-\frac{(a+b)^3 \coth ^3(c+d x)}{3 d}+\frac{(a+b)^2 (a+4 b) \coth (c+d x)}{d}+\frac{b^3 \tanh ^5(c+d x)}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.105049, antiderivative size = 104, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {4132, 448} \[ -\frac{b^2 (3 a+4 b) \tanh ^3(c+d x)}{3 d}+\frac{3 b (a+b) (a+2 b) \tanh (c+d x)}{d}-\frac{(a+b)^3 \coth ^3(c+d x)}{3 d}+\frac{(a+b)^2 (a+4 b) \coth (c+d x)}{d}+\frac{b^3 \tanh ^5(c+d x)}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4132
Rule 448
Rubi steps
\begin{align*} \int \text{csch}^4(c+d x) \left (a+b \text{sech}^2(c+d x)\right )^3 \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (1-x^2\right ) \left (a+b-b x^2\right )^3}{x^4} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \left (3 b (a+b) (a+2 b)+\frac{(a+b)^3}{x^4}-\frac{(a+b)^2 (a+4 b)}{x^2}-b^2 (3 a+4 b) x^2+b^3 x^4\right ) \, dx,x,\tanh (c+d x)\right )}{d}\\ &=\frac{(a+b)^2 (a+4 b) \coth (c+d x)}{d}-\frac{(a+b)^3 \coth ^3(c+d x)}{3 d}+\frac{3 b (a+b) (a+2 b) \tanh (c+d x)}{d}-\frac{b^2 (3 a+4 b) \tanh ^3(c+d x)}{3 d}+\frac{b^3 \tanh ^5(c+d x)}{5 d}\\ \end{align*}
Mathematica [B] time = 2.30334, size = 213, normalized size = 2.05 \[ -\frac{8 \tanh (c) \text{sech}^5(c+d x) \left (a \cosh ^2(c+d x)+b\right )^3 \left (\text{csch}(c) \sinh (d x) \cosh ^4(c+d x) \left (5 (a+b)^2 (2 a+11 b) \coth (c) \coth (c+d x)-b \left (45 a^2+120 a b+73 b^2\right )\right )+\cosh ^3(c+d x) \left (5 (a+b)^3 \coth ^2(c) \coth ^2(c+d x)-b^2 (15 a+14 b)\right )-\text{csch}(c) \sinh (d x) \cosh ^2(c+d x) \left (b^2 (15 a+14 b)+5 (a+b)^3 \coth (c) \coth ^3(c+d x)\right )-3 b^3 \cosh (c+d x)-3 b^3 \text{csch}(c) \sinh (d x)\right )}{15 d (a \cosh (2 (c+d x))+a+2 b)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.051, size = 213, normalized size = 2.1 \begin{align*}{\frac{1}{d} \left ({a}^{3} \left ({\frac{2}{3}}-{\frac{ \left ({\rm csch} \left (dx+c\right ) \right ) ^{2}}{3}} \right ){\rm coth} \left (dx+c\right )+3\,{a}^{2}b \left ( -1/3\,{\frac{1}{ \left ( \sinh \left ( dx+c \right ) \right ) ^{3}\cosh \left ( dx+c \right ) }}+4/3\,{\frac{1}{\cosh \left ( dx+c \right ) \sinh \left ( dx+c \right ) }}+8/3\,\tanh \left ( dx+c \right ) \right ) +3\,a{b}^{2} \left ( -1/3\,{\frac{1}{ \left ( \sinh \left ( dx+c \right ) \right ) ^{3} \left ( \cosh \left ( dx+c \right ) \right ) ^{3}}}+2\,{\frac{1}{\sinh \left ( dx+c \right ) \left ( \cosh \left ( dx+c \right ) \right ) ^{3}}}+8\, \left ( 2/3+1/3\, \left ({\rm sech} \left (dx+c\right ) \right ) ^{2} \right ) \tanh \left ( dx+c \right ) \right ) +{b}^{3} \left ( -{\frac{1}{3\, \left ( \sinh \left ( dx+c \right ) \right ) ^{3} \left ( \cosh \left ( dx+c \right ) \right ) ^{5}}}+{\frac{8}{3\,\sinh \left ( dx+c \right ) \left ( \cosh \left ( dx+c \right ) \right ) ^{5}}}+16\, \left ({\frac{8}{15}}+1/5\, \left ({\rm sech} \left (dx+c\right ) \right ) ^{4}+{\frac{4\, \left ({\rm sech} \left (dx+c\right ) \right ) ^{2}}{15}} \right ) \tanh \left ( dx+c \right ) \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.09577, size = 896, normalized size = 8.62 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.55822, size = 2480, normalized size = 23.85 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + b \operatorname{sech}^{2}{\left (c + d x \right )}\right )^{3} \operatorname{csch}^{4}{\left (c + d x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.23254, size = 481, normalized size = 4.62 \begin{align*} \frac{2 \,{\left (9 \, a^{2} b e^{\left (4 \, d x + 4 \, c\right )} + 18 \, a b^{2} e^{\left (4 \, d x + 4 \, c\right )} + 9 \, b^{3} e^{\left (4 \, d x + 4 \, c\right )} - 6 \, a^{3} e^{\left (2 \, d x + 2 \, c\right )} - 36 \, a^{2} b e^{\left (2 \, d x + 2 \, c\right )} - 54 \, a b^{2} e^{\left (2 \, d x + 2 \, c\right )} - 24 \, b^{3} e^{\left (2 \, d x + 2 \, c\right )} + 2 \, a^{3} + 15 \, a^{2} b + 24 \, a b^{2} + 11 \, b^{3}\right )}}{3 \, d{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )}^{3}} - \frac{2 \,{\left (45 \, a^{2} b e^{\left (8 \, d x + 8 \, c\right )} + 90 \, a b^{2} e^{\left (8 \, d x + 8 \, c\right )} + 45 \, b^{3} e^{\left (8 \, d x + 8 \, c\right )} + 180 \, a^{2} b e^{\left (6 \, d x + 6 \, c\right )} + 450 \, a b^{2} e^{\left (6 \, d x + 6 \, c\right )} + 240 \, b^{3} e^{\left (6 \, d x + 6 \, c\right )} + 270 \, a^{2} b e^{\left (4 \, d x + 4 \, c\right )} + 750 \, a b^{2} e^{\left (4 \, d x + 4 \, c\right )} + 490 \, b^{3} e^{\left (4 \, d x + 4 \, c\right )} + 180 \, a^{2} b e^{\left (2 \, d x + 2 \, c\right )} + 510 \, a b^{2} e^{\left (2 \, d x + 2 \, c\right )} + 320 \, b^{3} e^{\left (2 \, d x + 2 \, c\right )} + 45 \, a^{2} b + 120 \, a b^{2} + 73 \, b^{3}\right )}}{15 \, d{\left (e^{\left (2 \, d x + 2 \, c\right )} + 1\right )}^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]